package com.molichuxing.gateway.bff.permission.entity.response;

import com.molichuxing.framework.dto.ResponseRootDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class AccountLoginVo extends ResponseRootDto {
	private static final long serialVersionUID = 3899565223113587842L;

	@ApiModelProperty(value = "id")
	private Integer id;

	@ApiModelProperty(value = "token")
	private String token;

	@ApiModelProperty(value = "用户账号")
	private String account;

	@ApiModelProperty(value = "角色id")
	private Integer groupId;

	@ApiModelProperty(value = "角色")
	private String groupName;

	@ApiModelProperty(value = "真实姓名")
	private String realName;
	
	@ApiModelProperty(value = "本次登录时间")
	private LocalDateTime loginTime;
	
	@ApiModelProperty(value = "登录地区")
	private String loginArea;
	
	@ApiModelProperty(value = "登录ip")
	private String loginIp;

	@ApiModelProperty(value = "上次登录时间")
	private LocalDateTime lastLoginTime;
}